//上半部分铅笔
import Pencil from './Pencil.js'
import Sprite from '../base/Sprite.js'

export default class extends Pencil{
  constructor(top) {
    const img = Sprite.getImage('pencilUp')
    super(img, top)
  }
  draw() {
    this.y = this.top - this.height
    super.draw()
  }
}
